package pw.hais.braintwists.app;

import com.avos.avoscloud.AVAnalytics;
import com.avos.avoscloud.AVOSCloud;

import pw.hais.app.AppApplication;
import pw.hais.braintwists.model.User;

/**
 * Created by Hais1992 on 2015/12/11.
 */
public class HaisApplication extends AppApplication {
    public User user;

    @Override
    public void onCreate() {
        super.onCreate();

//        AVAnalytics.setAppChannel("BrainTwists");
        AVOSCloud.initialize(this, "yQINrzTomgOiQmPJspiEK7p1-gzGzoHsz", "RLi3bXKOVj5ROtyvfc4WwH9p");
        AVAnalytics.enableCrashReport(this, true);

    }

    @Override
    public void onErrorListener(String log) {

    }
}
